﻿using System;

namespace uTrade.Core
{
    public class StrategyConfig
    {
        public string Name { get; set; }
        public string StragName { get; set; }
        public string Instrument { get; set; }
        public string InstrumentOrder { get; set; }
        public string Interval { get; set; }
        public DateTime BeginDate { get; set; }
        public DateTime? EndDate { get; set; }
        public TaskStatus Status { get; set; }
        public string Params { get; set; }
    }

    public enum TaskStatus
    {
        Idle,
        Loading,
        Loaded,
        Running,
        Finished
    }
}